//
//  NSValue+MKUI.m
//  MKUI
//
//  Created by 苏尚进 on 2021/12/25.
//  Copyright © 2021 moon. All rights reserved.
//

#import "NSValue+MKUI.h"

@implementation NSValue (MKCGRange)
+ (NSValue *)valueWithMKCGRange:(MKCGRange)r{
    NSValue *value = [NSValue value:&r withObjCType:@encode(MKCGRange)];
    return value;
}
- (MKCGRange)MKCGRangeValue{
    MKCGRange range;
    [self getValue:&range];
    return range;
}
@end
